<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>上海泛软科技有限公司-后台登陆</title>
<meta name="robots" content="nofollow" />
<meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1″>
<link href="/Public/Css/admin-style.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="/Public/Js/jquery.js"></script>
<script language="javascript" type="text/javascript" src="/Public/Js/admin-common.js"></script>
</head>

<body>


<form id="form1" name="form1" method="post" action="<?php echo U('edit');?>">

<div class="nav-table">
<span class="on" href="table-one">评论设置</span>
</div>
<div class="nav-bottom"></div>

<style type="text/css">
.input-box li{border-bottom:#CCC solid 1px; padding:15px 0px;}
.input-box span{ margin-right:20px;}
.input-box label{display:inline; margin:0px; margin-right:20px;}
.input-box .input{display:inline; margin:0px; width:30px;}
</style>
<div class="input-box">
<!--站点设置 -->
<ul id="table-one">

  <li>
  <span>评&nbsp;&nbsp;&nbsp;&nbsp;论：</span>
    <?php if($show['state'] == 'open'): ?><label>
    <input class="input" type="radio" name="comment" value="open" checked id="comment_0">开启
    </label>
    <label>
    <input class="input" type="radio" name="comment" value="close" id="comment_1">关闭
    </label>
    <?php else: ?>
    <label>
    <input class="input" type="radio" name="comment" value="open" id="comment_0">开启
    </label>
    <label>
    <input class="input" type="radio" name="comment" value="close" checked id="comment_1">关闭
    </label><?php endif; ?>
  </li>
  
  <li>
  <span>昵&nbsp;&nbsp;&nbsp;&nbsp;称：</span>
   <label for="name_show">
   <input class="input" type="checkbox" name="name_show" value="1" <?php echo ($show['name'] ? 'checked' : ''); ?> id="name_show">显示
   </label>
   <label for="name_must">
   <input class="input" type="checkbox" name="name_must" value="1" <?php echo ($must['name'] ? 'checked' : ''); ?>  id="name_must">必填
   </label>
  </li>
  
  <li>
  <span>邮&nbsp;&nbsp;&nbsp;&nbsp;箱：</span>
   <label for="email_show">
   <input class="input" type="checkbox" name="email_show" value="1" <?php echo ($show['email'] ? 'checked' : ''); ?> id="email_show">显示
   </label>
   <label for="email_must">
   <input class="input" type="checkbox" name="email_must" value="1" <?php echo ($must['email'] ? 'checked' : ''); ?> id="email_must">必填
   </label>
  </li>
  
  <li>
  <span>主&nbsp;&nbsp;&nbsp;&nbsp;页：</span>
   <label for="web_show">
   <input class="input" type="checkbox" name="web_show" value="1" <?php echo ($show['web'] ? 'checked' : ''); ?> id="web_show">显示
   </label>
   <label for="web_must">
   <input class="input" type="checkbox" name="web_must" value="1" <?php echo ($must['web'] ? 'checked' : ''); ?> id="web_must">必填
   </label>
  </li>
  
  <li style="border:0;">
  <span>验证码：</span>
   <label for="verify_show">
   <input class="input" type="checkbox" name="verify_show" value="1"  <?php echo ($show['verify'] ? 'checked' : ''); ?>  id="verify_show">显示
   </label>
  </li>
  
</ul>


<div class="table-but"><input type="submit" name="button" id="button" value="修改"></div>
</div>

</form>

</body>
</html>